package linear_list.doublelinkedlist;

public class Test {
    public static void main(String[] args) {
        DoubleLinkedList list = new DoubleLinkedList();
        list.addFirst(2);
        list.addFirst(3);
        list.addLast(10);
        list.addLast(4);
        list.addLast(9);
        list.addLast(7);
        list.addIndex(2,11);
        System.out.println(list);
//        list.removeAllKey(2);
        System.out.println(list.dataBeforeIndex(2));
    }
}
